/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙，邂逅框架梦，本文采用木兰宽松许可证第2版]
 * 
 * https://zhiqim.org/project/zhiqim_kit/zhiqim_git.htm
 *
 * ZhiqimGit is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */
package org.zhiqim.git.constants;

/**
 * Git传输参数常量定义
 *
 * @version v1.0.0 @author zouzhigang 2016-12-2 新建与整理
 */
public interface GitOptionConstants
{
    /** 客户端或服务端Git名称和版本号 */
    public static final String OPTION_AGENT                             = "agent";
    
    /** 包含标签 */
    public static final String OPTION_INCLUDE_TAG                       = "include-tag";

    /** 支持协商多个ACK */
    public static final String OPTION_MULTI_ACK                         = "multi_ack";

    /** 支持协商多个ACK详情 */
    public static final String OPTION_MULTI_ACK_DETAILED                = "multi_ack_detailed";

    /** 边频带，默认1KB */
    public static final String OPTION_SIDE_BAND                         = "side-band";

    /** 边频带,64KB */
    public static final String OPTION_SIDE_BAND_64K                     = "side-band-64k";
    
    /** 薄包增量包 */
    public static final String OPTION_THIN_PACK                         = "thin-pack";

    /** 偏移增量包*/
    public static final String OPTION_OFS_DELTA                         = "ofs-delta";

    /** 浅抓取 */
    public static final String OPTION_SHALLOW                           = "shallow";

    /** 不需要处理中的消息 */
    public static final String OPTION_NO_PROGRESS                       = "no-progress";

    /** 不需要done标志也可以接受包 */
    public static final String OPTION_NO_DONE                           = "no-done";

    /** 允许任何引用抓取对象，不管是否有没有公告（包括隐藏的引用） */
    public static final String OPTION_ALLOW_TIP_SHA1_IN_WANT            = "allow-tip-sha1-in-want";

    /** 允许查找方式抓取对象 */
    public static final String OPTION_ALLOW_REACHABLE_SHA1_IN_WANT      = "allow-reachable-sha1-in-want";

    /** 快捷方式 */
    public static final String OPTION_SYMREF                            = "symref";

    /** 推送证书 */
    public static final String OPTION_PUSH_CERT                         = "push-cert";

    /** 原子推送，要求事务 */
    public static final String OPTION_ATOMIC                            = "atomic";

    /** 静默方式 */
    public static final String OPTION_QUIET                             = "quiet";

    /** 状态报告 */
    public static final String OPTION_REPORT_STATUS                     = "report-status";

    /** 删除引用 */
    public static final String OPTION_DELETE_REFS                       = "delete-refs";
}
